/*
 * Copyright (c) 2023 MariaDB plc
 *
 * Use of this software is governed by the Business Source License included
 * in the LICENSE.TXT file and at www.mariadb.com/bsl11.
 *
 * Change Date: 2028-05-14
 *
 * On the date above, in accordance with the Business Source License, use
 * of this software will be governed by version 2 or later of the General
 * Public License.
 */

html,
body,
#app,
#mxs-app {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden !important;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: colors.$grayed-out;
  border-radius: 4px;
  height: 30px;
}
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  box-shadow: 0 0 0 30px white inset !important;
}

#app {
  h1 {
    color: colors.$navigation;
  }
  h2 {
    color: colors.$blue-azure;
  }
  h3 {
    color: colors.$deep-ocean;
  }
  h4 {
    color: colors.$accent;
  }
  h5 {
    color: colors.$accent;
  }
  h6 {
    color: colors.$deep-ocean;
  }
  kbd {
    color: white;
    border-radius: 3px;
    font-size: 0.75rem;
    background: colors.$code-color;
    padding: 2px 6px;
    box-shadow:
      0 3px 1px -2px rgba(0, 0, 0, 0.2),
      0 2px 2px 0 rgba(0, 0, 0, 0.14),
      0 1px 5px 0 rgba(0, 0, 0, 0.12);
  }
  code {
    font-size: 0.85rem;
    white-space: normal;
    color: colors.$code-color;
    line-height: 1.5rem;
    font-weight: 900;
    padding: 0px 5px 0 10px;
  }
  main.v-main {
    .v-main__wrap {
      overflow: auto;
    }
  }
  @import '@/styles/helpers.scss';
  @import '@/styles/override.scss';
  @import '@/styles/chartTooltip.scss';
  @import '@/styles/workspace.scss';
}
